Prepare Sandbox Task
Prepares a sandbox environment with the installed plugin and its dependencies. The sandbox directory is required by tasks that run IDE and tests in isolation from other instances, like when multiple IntelliJ Platforms are used for testing with RunIdeTask, TestIdeTask, TestIdeUiTask, or TestIdePerformanceTask tasks.
To fully use the sandbox capabilities in a task, make it extend the SandboxAware interface.
See also
Properties
Default sandbox destination directory to where the plugin files will be copied into.
An internal field to hold a list of plugins to be disabled within the current sandbox.
Holds the Configurations.INTELLIJ_PLATFORM configuration with the IntelliJ Platform dependency added. It should not be directly accessed.
Holds the Configurations.INTELLIJ_PLATFORM_PLUGIN_DEPENDENCY configuration with the optional custom IntelliJ Platform plugins dependencies added. It should not be directly accessed.
Provides access to the IntelliJ Platform dependency artifact path.
List of dependencies on external plugins resolved from the Configurations.INTELLIJ_PLATFORM_PLUGIN configuration.
Provides information about the IntelliJ Platform product. The information is retrieved from the product-info.json file in the IntelliJ Platform directory.
Dependencies defined with the JavaPlugin.RUNTIME_CLASSPATH_CONFIGURATION_NAME configuration.
A configuration directory located within the sandboxDirectory.
A frontend configuration directory located within the sandboxDirectory.
The directory containing content read and produced by the running IDE.
A log directory located within the sandboxDirectory.
A frontend log directory located within the sandboxDirectory.
A plugins directory located within the sandboxDirectory.
A frontend plugins directory located within the sandboxDirectory.
Represents the suffix used i.e., for test-related tasks.
A system directory located within the sandboxDirectory.
A frontend system directory located within the sandboxDirectory.
Path to a properties file which will be used to configure the frontend process if the IDE is started in Split Mode.
Specifies in which part of the product the developed plugin should be installed.
Functions
Validates that the resolved IntelliJ Platform is supported by checking against the minimal supported IntelliJ Platform version.
Validates that the resolved IntelliJ Platform supports Split Mode.